package com.ruoyi.system.mapper.customer;

import com.ruoyi.common.annotation.Log;
import com.ruoyi.system.domain.customer.CustomerLogin;

/**
 * 客户登录表
 *
 * @author 张少丛
 */
public interface CustomerLoginMapper {
    /**
     * 根据账号和密码查询
     * @param customerLogin
     * @return
     */
    public CustomerLogin selectCustomerLogin(CustomerLogin customerLogin);

    /**
     * 添加信息
     * @param customerLogin
     * @return
     */
    public int addCustomerLogin(CustomerLogin customerLogin);

    /**
     * 修改信息
     * @param customerLogin
     * @return
     */
    public int editCustomerLogin(CustomerLogin customerLogin);

    public CustomerLogin findCustListById(Long customerId);

    public int deleteCustomerLoginById(Integer customerId);
}
